package arbore;
import visitors.Visitor;
public class Frunza extends NodAbstract {
	protected int x;

	public Frunza(int a){
		this.x=a;
	}
	
	public void acceptVisitor(Visitor v) {
		v.visit(this);
	}
	public int getX(){
		return x;
	}
	public void setX(int x){
		this.x=x;
	}
	public String toString() {
		return " "+x+" ";
	}
}
